package com.songmao.pricecloudapitest.socket.entity.websocket;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * @author Remy
 * @description :
 * @date 2020-07-07 18:35
 */
public class UserEntity {
    @JSONField(name = "u")
    private String username;

    @JSONField(name = "p", ordinal = 1)
    private String password;

    public UserEntity() {
    }

    public UserEntity(String username, String password) {
        this.username = username;
        this.password = password;
    }

    @Override
    public String toString() {
        return "UserEntity{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
